package com.tanhua.model.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

/**
 * @author ck
 * @date 2021/11/18 19:58
 */

@Data
@NoArgsConstructor
@AllArgsConstructor
public class UserCommentVo implements Serializable {

    //用户评论主键
    private String id;
    //头像地址
    private String avatar;
    //昵称
    private String nickname;
    //评论的内容
    private String content;
    //评论时间
    private String createDate;
    //评论被赞数量
    private Integer likeCount = 0;
    //是否已赞（1是，0否）
    private Integer hasLiked;
}

